//
//  JWAlarm.m
//  Healthsbrancelets
//
//  Created by paycloud110 on 15/12/9.
//  Copyright © 2015年 Paycloud. All rights reserved.
//

#import "JWAlarm.h"

@implementation JWAlarm

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:_getupCycle forKey:@"getupCycle"];
    [aCoder encodeObject:_getupMark forKey:@"getupMark"];
    [aCoder encodeObject:_getupShake forKey:@"getupShake"];
    [aCoder encodeObject:_getupTime forKey:@"getupTime"];
}
- (id)initWithCoder:(NSCoder *)aDecoder
{
    if (self = [super init]) {
        _getupCycle = [aDecoder decodeObjectForKey:@"getupCycle"];
        _getupMark = [aDecoder decodeObjectForKey:@"getupMark"];
        _getupShake = [aDecoder decodeObjectForKey:@"getupShake"];
        _getupTime = [aDecoder decodeObjectForKey:@"getupTime"];
    }
    return self;
}


@end
